
public class DetectorSettings {
	
	private boolean enableMovingSensor = true;
	private boolean enableLightSensor = false;
	private boolean enableDistanceSensor = false;
	private boolean enableXaccelerationSensor = false;
	private boolean enableYaccelerationSensor = false;
	private boolean enableZaccelerationSensor = false;
	private boolean enableDirectionSensor = false;
	private boolean enableTempraturSensor = false;
	
	private static DetectorSettings detSet;
	
	
	protected DetectorSettings() {
		
	}
	
	/**
	 * 
	 * @return Instance
	 */
	public static DetectorSettings getInstance(){
		if(detSet == null)
			detSet = new DetectorSettings();

		return detSet;
	}
	/**
	 * @return the enableMovingSensor
	 */
	public boolean isEnableMovingSensor() {
		return enableMovingSensor;
	}
	/**
	 * @param enableMovingSensor the enableMovingSensor to set
	 */
	public void setEnableMovingSensor(boolean enableMovingSensor) {
		this.enableMovingSensor = enableMovingSensor;
	}
	/**
	 * @return the enableLightSensor
	 */
	public boolean isEnableLightSensor() {
		return enableLightSensor;
	}
	/**
	 * @param enableLightSensor the enableLightSensor to set
	 */
	public void setEnableLightSensor(boolean enableLightSensor) {
		this.enableLightSensor = enableLightSensor;
	}
	/**
	 * @return the enableDistanceSensor
	 */
	public boolean isEnableDistanceSensor() {
		return enableDistanceSensor;
	}
	/**
	 * @param enableDistanceSensor the enableDistanceSensor to set
	 */
	public void setEnableDistanceSensor(boolean enableDistanceSensor) {
		this.enableDistanceSensor = enableDistanceSensor;
	}
	/**
	 * @return the enableXaccelerationSensor
	 */
	public boolean isEnableXaccelerationSensor() {
		return enableXaccelerationSensor;
	}
	/**
	 * @param enableXaccelerationSensor the enableXaccelerationSensor to set
	 */
	public void setEnableXaccelerationSensor(boolean enableXaccelerationSensor) {
		this.enableXaccelerationSensor = enableXaccelerationSensor;
	}
	/**
	 * @return the enableYaccelerationSensor
	 */
	public boolean isEnableYaccelerationSensor() {
		return enableYaccelerationSensor;
	}
	/**
	 * @param enableYaccelerationSensor the enableYaccelerationSensor to set
	 */
	public void setEnableYaccelerationSensor(boolean enableYaccelerationSensor) {
		this.enableYaccelerationSensor = enableYaccelerationSensor;
	}
	/**
	 * @return the enableZaccelerationSensor
	 */
	public boolean isEnableZaccelerationSensor() {
		return enableZaccelerationSensor;
	}
	/**
	 * @param enableZaccelerationSensor the enableZaccelerationSensor to set
	 */
	public void setEnableZaccelerationSensor(boolean enableZaccelerationSensor) {
		this.enableZaccelerationSensor = enableZaccelerationSensor;
	}
	/**
	 * @return the enableDirectionSensor
	 */
	public boolean isEnableDirectionSensor() {
		return enableDirectionSensor;
	}
	/**
	 * @param enableDirectionSensor the enableDirectionSensor to set
	 */
	public void setEnableDirectionSensor(boolean enableDirectionSensor) {
		this.enableDirectionSensor = enableDirectionSensor;
	}
	/**
	 * @return the enableTempraturSensor
	 */
	public boolean isEnableTempraturSensor() {
		return enableTempraturSensor;
	}
	/**
	 * @param enableTempraturSensor the enableTempraturSensor to set
	 */
	public void setEnableTempraturSensor(boolean enableTempraturSensor) {
		this.enableTempraturSensor = enableTempraturSensor;
	}
	
	
	
}
